package com.springboot.starter.coderacademy.base;

public class CoderAcademyService {

    private final CoderAcademyProperties coderAcademyProperties;

    public CoderAcademyService(CoderAcademyProperties coderAcademyProperties) {
        this.coderAcademyProperties = coderAcademyProperties;
    }

    public String sayHello() {
        return "Hello "+ coderAcademyProperties.getName() + "！";
    }
}

